package com.yrot.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by hemin on 2019/4/2.
 */
@Controller
@RequestMapping("/view")
public class ViewController {

    @GetMapping("/home/console")
    public String homeConsole(){
        return "/home/console";
    }

    @GetMapping("/set/user/info")
    public String setUserInfo(){
        return "/set/user/info";
    }

    @GetMapping("/set/user/password")
    public String setUserPassword(){
        return "/set/user/password";
    }

    @GetMapping("/admin/question-bank")
    public String adminQuestionBank(){
        return "/admin/question-bank";
    }

    @GetMapping("/admin/questions")
    public String adminQuestions(){
        return "/admin/questions";
    }

    @GetMapping("/admin/train")
    public String adminTrain(){
        return "/admin/train";
    }

    @GetMapping("/admin/upload-log")
    public String uploadLog(){
        return "/admin/upload-log";
    }


    @GetMapping("/admin/expert")
    public String adminExpert(){
        return "/admin/expert";
    }

    @GetMapping("/admin/document")
    public String adminDocument(){
        return "/admin/document";
    }

    @GetMapping("/admin/test")
    public String adminTest(){
        return "/admin/test";
    }

    @GetMapping("/admin/log")
    public String adminLog(){
        return "/admin/log";
    }

    @GetMapping("/mp/mp-answer")
    public String mpAnswer(){
        return "/mp/mp-answer";
    }

    @GetMapping("/mp/mp-answer-detail")
    public String mpAnswerDetail(){
        return "/mp/mp-answer-detail";
    }
    @GetMapping("/mp/special-result-details")
    public String specialAnswerDetail(){
        return "/mp/special-result-details";
    }
    @GetMapping("/video")
    public String video(){
        return "/video";
    }
}
